/* 头部开始 */
.header{
    width: 100%;
    height:80px;
    overflow: hidden; /*隐藏超出内容*/
    position: relative; /*相对定位*/
}

/* 内容居中问题： 一个大盒子中有一个小盒子，想让小盒子在大盒子中水平居中，使用绝对定位时，父元素需要设置相对定位。*/


.header img{
    width: 100%;
    height: 80px;
    /* 定位 加 平移 */
    position:absolute;
    left: 50%;
    transform: translateX(-50%); /*水平居中*/
}
/* 头部结束 */


/* 黑色导航开始 */

.black-nav{
    width: 100%;
    height: 40px;
    line-height: 40px;  /* 只有一行 */
    background-color: #333;
    font-size: 8px;
    z-index: 100;
}

.wrap{
    width: 560px;
    margin: 0 auto;
}

 .black-nav .wrap .black-nav-left{
    float: left;
}

.black-nav .wrap .black-nav-right{
    float: right;
}

.black-nav .wrap li{
    float: left;
    position: relative; /*相对定位*/
}

.black-nav a{
    color: #b0b0b0
}

.black-nav .wrap li span{
    color: #424242;
    margin: 0 2.6px
}

.download{
    width:124px;
    height:0px;
    background-color: #fff;
    box-shadow: 0 1px 5px #aaa;
    position: absolute;
    top: 40px;
    left:50%;
    margin-left: -62px; /* 负值的一半 */
    overflow: hidden; /*隐藏超出内容*/
    z-index: 101;
}

.download img{
    width: 90px;
    margin: 18px auto 0;
}

.download p{
    color: #333;
    font-size: 12px;
    line-height: 12px;

}


.black-nav-left li:hover>.download{
    height: 148px;
}

.stri{
    width:0px;
    height:0px;
    border-bottom: 8px solid #fff;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    position: absolute;
    bottom: 0px;
    left: 50%;
    margin-left: -8px; /* 负值的一半 */
    display: none;
}

.black-nav-left li:hover>.stri{
    display: block;
} 

.cart{
    width:80px;
    height:40px;
    background-color: #424242;
    margin-left: 25px;
    z-index: 101;
}

.cart:hover{
    background: #fff;
}

.cart:hover>a{
    color: #ff6700;
    margin-right: 8px;
}

.cart-list{
    width: 126px;
    height: 0px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    position: absolute;
    right: 0px;
    top:40px;
    overflow: hidden; /*隐藏超出内容*/
    color: #424242;
    line-height: 100px;

}

.cart:hover>.cart-list{
    height: 100px;
}

/* 黑色导航结束 */

/* 白色导航 开始 */

.white-nav{
    width: 100%;
    height: 100px;
    background-color: #fff;
    position:relative; 
    z-index: 100;
}

/* logo */

.logo{
    width: 40px;
    height: 40px;
    background-color: #ff6700;
    float: left;
    margin-top: 22.5px;
    overflow: hidden; /*隐藏超出内容*/
    position: relative; /*相对定位*/
    border-radius: 10px;
}

.logo>img{
    width:100%;
    height:100%;
    position: absolute;
    top: 0px;
    transition: all 0.3s;
}

.mhome{
    left:-40px;
}

.mlogo{
    left:0;
}

.logo:hover>.mhome{
    left:0;
}

.logo:hover>.mlogo{
    left:40px;
}

.nav-bar{
    width: 400px;
    height: 100px;
    line-height: 100px; /* 只有一行 */
    float: left;
}

.search{
    width:120px;
    height: 57px;
    float: right;
    padding-top: 43px;
}

.nav-bar li{
    float: left;
}

.nav-bar li img{
    height: 100px;
}

.nav-bar li a{
    color: #333;
    padding: 0 2px;
    font-size: 8px;
}

.nav-bar li a:hover{
    color: #ff6700; 
}

.search input{
    /* 120 -30 =90 */
    width: 90px;
    height: 15px;
    float: left;
    border: 1px solid #e0e0e0;
    box-sizing: border-box; /*包含内边距和边框*/
    padding: 0 10px;
    outline: none; /*去掉输入框的边框*/
    border-right: 0px;
    font-size: 8px;
    
}

.search button{
    width: 30px;
    height: 15px;
    float: right;
    border: 1px solid #e0e0e0;

}

.search button:hover{
    background: #ff6700;
    color: #fff;
}

.nav-bar-list{
    width: 100%;
    height: 229px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 3px 4px rgba(0,0,0,0.1);
    position: absolute;
    left: 0px;
    top:100px;
    margin: auto 15px;
    display:none;
}

.nav-bar li:hover>.nav-bar-list{
    display: block;
}

.nav-bar-list li{
    line-height: normal;
    border-right: 1px solid #eee;
    overflow: hidden;   
}

.nav-bar-list li .img-box{
    width: 100%;
    height: 120px;
}

.nav-bar-list .name{
    font-size: 12px;
    color:#333;
}

.nav-bar-list .price{
    font-size: 12px;
    color: #ff6700;
}

/* 白色导航结束 */

/* bannar图 开始 */
.banner{
    width: 100%;
    height: 262px;
}

.bannar-img{
    width: 100%;
}

.bannar>.wrap{
    position:relative;
}



.slide{
    width: 187px;
    height: 242px;
    padding: 10px 0px;
    background: rgba(105,101,101,1);
    position: absolute;
    left: 0px;
    top: 0px;
}

.slide>ul>li{
    height: 24px;
    line-height: 24px;
    text-align: left;
    padding-left: 30px;
    font-size: 8px;

}

.slide>ul>li>a{
    color: #fff;
}

.slide i{
    float:right;
    padding-right: 20px;
}

.slide>ul>li:hover{
    background: #ff6700;
}

.slide-list{
    /* 560 - 187 = 373 */
    width: 373px;
    height: 262px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-left: none;
    box-sizing: border-box;
    position: absolute;
    top: 0px;
    left: 187px;
    display: none;
}

.slide-list ul{
    width: 100%;

}

.slide-list ul li{
    width: 120px;
    height: 100px;
    float: left;
    padding-left: 5px 5px 5px 5px;
    box-sizing: border-box;
    line-height: 100px;
}

.slide-list img{
    width: 40px;
    margin-right: 10px;
    margin: 20px;
}

.slide-list span{
    color: #333;
    font-size: 5px;
    position: relative;
    top: -30px;
}

.slide li:hover .slide-list{
    display: block;
}

.slide-list li:hover{
    color:#ff6700;
}


/* bannar图 结束 */

/* 广告模块 开始 */
.ad{
    width: 100%;
    height: 90px;
    padding: 10px 0;
    background-color: #fff;
}

.ad .ad-aside{
    width: 187px;
    height: 90px;
    background-color: #5f5750;
    padding: 3px;
    box-sizing: border-box;
    font-size: 8px;
    float: left;
}

.ad .ad-aside ul li{
    float: left;
    width: 60px;
    height: 40px;
    padding: 10px;
    box-sizing: border-box;
    opacity: 0.7;
}

.ad .ad-aside ul li i{
    font-size: 18px;
    margin-bottom: 2px;
    display: block;
    color: #fff;
}

.ad .ad-aside p{
    color: #fff;
}

.ad-aside ul li:hover{
    opacity: 1;
}

.ad-img{
    width: 120px;
    margin-left:4.3px;
    height:90px;
    float: left;
}

.ad-img img{
    width: 100%;
    height: 90px;
    border: 1px solid #333;
    box-sizing: border-box;
}

/* 广告模块 结束 */


/* 内容模块 开始*/
.content{
    width: 100%;
    background-color: #f1f1f1;
    overflow: hidden;
    padding: 4px 0 10px;
}

.title{
    text-align: left;
    font-size: 16px;
    color: #333;
    font-weight: 200;
    line-height: 50px;
}
/* 内容模块 结束*/

/* 手机模块 开始 */

.phone-box{
    width: 100%;
    height: 502px;
}

.phone-box-left{
    width: 187px;
    height: 502px;
    float: left;

}

.phone-box-left img{
    width: 100%;
    height: 502px;
}

.phone-box-right{
    width: 373px;
    height: 502px;
    float: left;
}

.phone-box-right .item{
    width: 90px;
    height: 247px;
    margin: 0 0 3.25px 3.25px;
    background: #fff;
    padding: 10px 0;
    box-sizing: border-box;
    border-radius: 1px;
    float: left;
    transition: all 0.2s linear;
}

.phone-box-right .item img{
    width: 80px;
    margin-bottom: 10px;

}

.item:hover{
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.item-name{
    font-size: 12px;
    height: 30px;
    color: #333;
    line-height: 30px;
    margin:0 auto 2px;
}

.item-desc{
    font-size: 8px;
    height: 25px;
    color: #b0b0b0;
    line-height: 25px;
    margin:0 auto 8px;

}

.item-price{
    color: #ff6700;
    font-size: 15px;
}

.big-img{
    width: 100%;
    height: 120px;
    margin: 20px 0;
}

.big-img img{
    width: 100%;
    height: 120px;
}

/* 手机模块 结束 */

/* 家电模块 开始 */

.elc-box{
    width: 100%;
    height: 502px;
}

.elc-box .elc-item{
    padding: 0;
    margin-left: 0px;
}

.elc-box .item{
    width: 170px;
    height: 245px;
    margin-left: 10px;
    float: left;
    
}

.elc-box .elc-item img{
    width: 187px;
    height: 245px;
    float: left;
}



.elc-box .item .item-img{
    width: 130px;
    height: 160px;
}

.item-price>del{
    color: #b0b0b0;
    margin-left: 5px;
}

.item-last{
    width:170px;
    height: 245px;
    margin-left:5px;
    float:left;
}

.item-last div{
    width: 170px;
    height: 120px;
    background-color: #fff;
    transition: all 0.2s linear;
}

.item-last>div:first-child{
    margin-bottom: 12px;
}

.item-last>div:hover{
    transform:translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}



/* 家电模块结束 */

/* 视频模块开始 */
.video-box{
    width: 100%;
    height: 180px;
}

.video-box>div{
    width: 136px;
    height: 180px;
    background-color: #fff;
    float:left;
    margin-bottom: 4px;
    margin-right: 4px;
    transition: all 0.2s linear;
}

.video-box>div:last-child{
    margin-right:0px;
}

.video-img{
    width: 100%;
    height: 100px;
    margin-bottom: 28px;
    position: relative;
}

.btn{
    width: 20px;
    height: 15px;
    border-radius: 12px;
    border: 2px solid #fff;
    position: absolute;
    right: 30px;
    bottom: 10px;
}

.sanjiao{
    width: 0;
    height: 0;
    border-left: 8px solid #fff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin: 3px auto;
}

.video-img img{
    width: 100%;
}

.video-box>div:hover{
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.video-name{
    color: #333;
    font-size:10px;
    width: 136px;
    height: 20px;
    margin: 0 auto 6px;
}

.video-desc{
    color: #b0b0b0;
    font-size:8px;
    width: 136px;
    height: 16px;
    margin: 0 auto;

}

.video-img:hover .btn{
    background: #ff6700;
    border-color: #ff6700;
}


/* 视频模块结束 */

/* 页脚开始 */
.footer-service{
    width: 100%;
    height: 25px;
    line-height: 25px;
    padding: 27px 0;
    border-bottom: 1px solid #e0e0e0;
}

.footer-service li{
    float: left;
    width: 20%;
    border-right: 1px solid #b0b0b0;
    box-sizing: border-box;
}

.footer-service li:last-child{
    border-right: 0px;
}

.footer-service i{
    font-size: 24px;
    margin-right: 6px;
}

.footer-service a{
    color: #616161;
}

.footer-service a:hover{
    color: #ff6700;
}

.footer-link{
    width: 100%;
    height: 172px;
    padding: 40px 0px;
}

.footer-link ul{
    width: 70px;
    float: left;
    text-align: left;
    color: #424242;
    font-size: 14px;
    line-height: 1.25;
}

.footer-link li a{
    font-size: 12px;
    color: #757575;
}

.footer-link li a:hover{
    color: #ff6700;
}

.footer-link ul li{
    margin-top:10px;
}

.footer-aside{
    width: 100px;
    height: 111px;
    border-left: 1px solid #e0e0e0;
    float: right;
    color: #616161;
}



.footer-aside .tel{
    font-size: 18px;
    line-height: 18px;
    color: #ff6700;
    margin-bottom: 5px;
}

.footer-aside .time{
    font-size: 8px;
    margin-bottom: 5px;
}

.footer-aside .kefu{
    display: block;
    width: 70px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #ff6700;
    box-sizing: border-box;
    margin: 0 auto;
    color: #ff6700;
    font-size: 12px;
    transition: all 0.4s linear;
}

.footer-aside .kefu:hover{
    background: #f25807;
    border-color: #f25807;
    color: #fff;
}

.footer-aside .follow{
    font-size: 6px;
    margin-top: 10px;
}

.footer-aside img{
    width: 20px;
    margin-left: 6px;
    position: relative;
    top: 7px;
}


/* 页脚结束 */